<script>
init({
  title: 'Aligning Columns',
  desc: 'Use `align`, `halign` and `valign` options to set the alignment of the columns and their header.',
  links: ['bootstrap-table.min.css'],
  scripts: ['bootstrap-table.min.js']
})
</script>

<template>
  <table
    id="table"
    data-toggle="table"
    data-height="460"
    data-url="json/data1.json"
  >
    <thead>
      <tr>
        <th
          data-field="id"
          data-halign="right"
          data-align="center"
        >
          Item ID (right)
        </th>
        <th
          data-field="name"
          data-halign="center"
          data-align="left"
        >
          Item Name (center)
        </th>
        <th
          data-field="price"
          data-halign="left"
          data-align="right"
        >
          Item Price (left)
        </th>
      </tr>
    </thead>
  </table>
</template>
